<template>
  <div class="box">
    <img class="img" src="../../assets/images/error_images/404.png" alt="" />
    <el-button type="primary" size="default" @click="handleJump">点击跳转首页</el-button>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'
let $router = useRouter()
const handleJump = () => {
  $router.push('/')
}
</script>

<style scoped lang="scss">
.box {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
